<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="participantescomites form">
<?php echo $this->Form->create('Participantescomite');?>
	<fieldset>
 		<legend><?php __('Editar Participantes Comite'); ?></legend>		
		<table  id="myTable" cellpadding="0" cellspacing="0">
	 		<tr>										
	 			<th class="actions"><?php __('Registro No.');?></th>
	 			<th class="actions"><?php __('Entidad/Establecimiento Educativo/Otros');?></th>
				<th class="actions"><?php __('Nombres y apelidos');?></th>
				<th class="actions"><?php __('Identificacion');?></th>
				<th class="actions"><?php __('Cargo');?></th>
				<th class="actions"><?php __('Telefono celular');?></th>
				<th class="actions"><?php __('Correo Electronico');?></th>								
			</tr>			
			<tr>			
			<?php	
					$i=0;			
					foreach($comites as $comite){	
					$participantes = array();
					$participante_id = $comite['Participantescomite']['id'];						
					$participantes = $this->Participantescomite->registro($participante_id);					
					echo $this->Form->input('comite_id',array('type'=>'hidden', 'value'=>$comite['Participantescomite']['comite_id']));									
			?>
						<td><?php echo $i+1;?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[entidad]['.$participante_id.']', 
														'name'=>'data[entidad]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['entidad']))?>
						<?php echo $this->Form->input(null, array('type'=>'hidden','label'=>'', 'id'=>'data[identidicador]['.$participante_id.']', 
														'name'=>'data[identidicador]['.$participante_id.']','value'=>$participante_id))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[nombre]['.$participante_id.']', 
														'name'=>'data[nombre]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['nombre']))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[identificacion]['.$participante_id.']', 
														'name'=>'data[identificacion]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['cedula']))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[cargo]['.$participante_id.']', 
														'name'=>'data[cargo]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['cargo']))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[telefono]['.$participante_id.']', 
														'name'=>'data[telefono]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['telefono']))?></td>
						<td><?php echo $this->Form->input(null, array('label'=>'', 'id'=>'data[email]['.$participante_id.']', 
														'name'=>'data[email]['.$participante_id.']', 'class' => 'text_kit', 
														'type'=>'text', 'value'=>$participantes['Participantescomite']['correo']))?></td>						
			</tr>
			<?php 
					$i++;}									
			?>
		</table>	
	</fieldset>
<?php echo $this->Form->end(__('Guardar', true));?>
</div>